import type { UserInfoVO } from './UserInfo'

type TbDataNews = {
  id: number
  newsId: string
  title: string
  source: string
  digest: string
  postTime: string
  typeName: string
  imgs: string
  content: string
  hits: number
  likes: number
  comments: number
  createdAt: number
  praised: boolean
  images: string[]
}

type TbDataNewsReply = {
  id: number
  newsId: number
  userId: number
  likes: number
  content: string
  praised: boolean
  createdAt: number
  user: UserInfoVO
}
export type { TbDataNews, TbDataNewsReply }
